<template>
  <div class="comment">
    <h2>评论</h2>
    <div class="com-txt">
      <el-input
        type="textarea"
        :rows="8"
        placeholder="请输入内容"
        v-model="textarea"
        maxlength="9999"
        show-word-limit
      >
      </el-input>
    </div>
    <div class="btn">
      <span class="issue">提交</span>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'Comment',
    data() {
      return {
        textarea: '',
      };
    },
  };
</script>

<style lang="less" scoped>
  .comment {
    width: 100%;
    h2 {
      width: 100%;
      height: 60px;
      text-align: center;
      line-height: 60px;
      color: #606266;
      cursor: pointer;
    }
    .com-txt {
      height: 185px;
      margin-bottom: 10px;
      .el-textarea {
        .el-textarea__inner {
          width: 100%;
          padding: 10px;
        }
      }
    }
    .btn {
      display: flex;
      justify-content: end;
      padding-right: 15px;
      .issue {
        display: block;
        width: 60px;
        height: 29px;
        color: #fff;
        font-weight: 600;
        cursor: pointer;
        text-align: center;
        line-height: 29px;
        border-radius: 8px;
        background-color: salmon;
        @keyframes issueMove {
          0% {
          }
          25% {
            transform: translateZ(1600);
          }
          50% {
            transform: translateZ(1500);
          }
          75% {
          }
          100% {
          }
        }
        &:hover {
          animation: issueMove all 1s;
        }
      }
    }
  }
</style>
